<template>
  <view class="container">
    <image src="../../static/logo.png" style="width: 288rpx; height: 288rpx; margin-top: 242rpx; margin-left: 232rpx" mode=""></image>
    <view class="goin" @click="goinlogin">进入</view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    goinlogin() {
      uni.redirectTo({
        url: '/pages/index/index'
      });
      // if (uni.getStorageSync('token')) {
      //  uni.redirectTo({
      //    url: '/pages/index/index'
      //  });
      // } else {
      //   uni.redirectTo({
      //     url: '/login/login/login'
      //   });
      // }
    }
  }
};
</script>

<style lang="scss" scoped>
.container {
  background-color: #feff01;
  width: 100%;
  height: 100vh;

  .goin {
    position: fixed;
    bottom: 156rpx;
    left: 30rpx;
    width: 690rpx;
    height: 100rpx;
    background: #ffffff;
    text-align: center;
    line-height: 100rpx;
    font-weight: 500;
    font-size: 36rpx;
    color: #151515;
    border-radius: 50rpx 50rpx 50rpx 50rpx;
  }
}
</style>